package jolly_jumper;

public class Jolly_Jumpers {

	public static void main(String [] args)
	{
		int [] input = new int[3000];
		
		for (int i = 0; i < input.length; i++)
		{
			input[i] = i * 2000;
			System.out.print(input[i] + " ");
		}
		
		//jollyJumper(input);
	}
	
	public static void jollyJumper(int [] inputs)
	{
		boolean [] bitVector = new boolean[inputs.length];
	
		for (int index = 0; index < inputs.length - 1; index++)
		{
			int difference = Math.abs(inputs[index] - inputs[index+1]);
			
			if (difference < bitVector.length && difference > 0)
			{
				bitVector[difference] = true;
			}
		}
		
		for (int index = 1; index < bitVector.length; index++)
		{
			if (bitVector[index] == false)
			{
				System.out.println("Not Jolly");
				return;
			}
		}
		
		System.out.println("Jolly");
	}
}
